<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="./css/reset.css">
  <link rel="stylesheet" href="./css/index.css">
  <link rel="stylesheet" href="./css/base.css">
  <script src="//cdn.bootcss.com/vue/2.5.2/vue.min.js"></script>
  <title>夜殇的博客</title>
</head>

<body>
  <header class="header">
    <nav>
      <div class="container">
        <a href="">我的个人博客|技术博客</a>
      </div>
      <ul>
        <li><a href="./index.html">首页</a></li>
        <li><a href="./sitemap.html">地图</a></li>
        <li><a href="./about.html">关于</a></li>
        <li><a href="./guestbook.html">留言</a></li>
      </ul>
      <form class="search" action="/" method="GET">
        <input type="text" placeholder="输入关键词查找" name="search" class="form-control">
        <button class="btn">搜索</button>
      </form>
    </nav>

  </header>
  <div class="content">
    <div class="content-left">
      <div class="every_day" id="every_day">
        <div class="title">每日一句</div>
        <div v-html="getContent"></div>
        <div class="author">———— {{author}}</div>
      </div>
      <div class="blog_list" id="blog_list">
        <div class="blog" v-for="blog in bloglists" :key="blog.id">
          <h2 class="blog_title">
            <a :href="blog.link">{{blog.title}}</a>
          </h2>
          <div class="blog_content">{{blog.content}}</div>
          <div class="blog_foot">发布于{{blog.date}} | 浏览({{blog.views}}) | Tags：{{blog.tag}}</div>
        </div>
      </div>
    </div>
    <div class="content-right">
      <div class="random_tags" id="random_tags">
        <div class="title">随机标签云</div>
        <div class="tags">
          <a href="/" v-for="(tag, index) in tags" :style="{color: randomColor(), fontSize: randomFontSize()}">
            {{tag}}
          </a>
        </div>
      </div>
      <div class="hot" id="hot">
        <div class="title">最近热门</div>
        <ul class="list">
          <li v-for="(hot, index) in hotList" :key="index">
            <a :href="hot.link">{{hot.title}}</a>
          </li>
        </ul>
      </div>
      <div class="new_comments" id="new_comments">
        <div class="title">最新评论</div>
        <ul class="comments_list">
          <li v-for="(comment, index) in commentList" :key="index">
            <div>
              <span class="name">{{comment.name}}</span>
              <span class="time">[{{comment.time}}周前]</span>
            </div>
            <a :href="comment.link">{{comment.content}}</a>
          </li>
        </ul>
      </div>
      <div class="friend_link" id="friend_link">
        <div class="title">友情链接</div>
        <table>
          <tbody>
            <tr v-for="(link, index) in friendLinks">
              <td><a :href="link.left">{{link.left}}</a></td>
              <td><a :href="link.rightLink">{{link.right}}</a></td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
  <footer class="footer">
    <ul>
      <li><a href="/">C/C++</a></li>
      <li><a href="/">CSS/DIV</a></li>
      <li><a href="/">java</a></li>
      <li><a href="/">Javascript</a></li>
      <li><a href="/">Linux</a></li>
      <li><a href="/">Mac</a></li>
      <li><a href="/">PC技术</a></li>
      <li><a href="/">PHP</a></li>
      <li><a href="/">Python</a></li>
      <li><a href="/">Raspberry</a></li>
      <li><a href="/">Ubuntu</a></li>
      <li><a href="/">wordPress</a></li>
      <li><a href="/">关于SEO</a></li>
      <li><a href="/">分享经验</a></li>
      <li><a href="/">听听音乐</a></li>
      <li><a href="/">幽默搞笑</a></li>
      <li><a href="/">建站经验</a></li>
      <li><a href="/">新闻资讯</a></li>
      <li><a href="/">模拟飞行</a></li>
      <li><a href="/">片言碎语</a></li>
      <li><a href="/">编程基础</a></li>
      <li><a href="/">视频分享</a></li>
      <li><a href="/">玩转手机</a></li>
    </ul>
    <p>Copyright © 2010-2019 郑晓个人博客 All rights reserved. 由免费开源的WordPress强力驱动. 鲁ICP备14017955号站长统计</p>
  </footer>
  <script src="./js/index.js"></script>
  <script src="./js/base.js"></script>
</body>

</html>